package gof.com.yew.factory.abstractfactory;

public class ShapeFactory implements AbstractFactory {

	@Override
	public Shape getShape(String shape) {
		Shape src = null;
		if("Cicle".equals(shape)) {
			src = new Circle();
		}else if("Square".equals(shape)) {
			src = new Square();
		}
		return src;
	}

	@Override
	public Color getColor(String color) {
		return null;
	}

}
